API Support Forum
OEC API > API Support > IContractLoadRequestBuilderPtr Missing Build Function in C++ GF_Api_COM Wrapper
Author Topic: IContractLoadRequestBuilderPtr Missing Build Function in C++ GF_Api_COM Wrapper
(5 messages, Page 1 of 1)
Moderators: VPfau
RWare2020
Posts: 205
Joined: Feb 11, 2020


Posted: May 06, 2020 @ 03:12 PM             Msg. 1 of 5
Trying to create a Contract Load Request and there appears to be no method for Building the request using the builder.

I am using the C++ GF_Api_COM wrapper.

This is the code snippet I am using:
GF_Api_COM::IContractLoadRequestBuilderPtr builder;
builder.CreateInstance(__uuidof(GF_Api_COM::ContractLoadRequestBuilder));
builder->Build(); //missing
JSmith5611
Posts: 187
Joined:


Posted: May 07, 2020 @ 10:10 AM             Msg. 2 of 5
hmm.. somehow that function is in ContractLoadRequestBuilder class, but not in the IContractLoadRequestBuilder interface. I'll fix it soon.
Jason Smith
RWare2020
Posts: 205
Joined: Feb 11, 2020


Posted: May 07, 2020 @ 10:18 AM             Msg. 3 of 5
Thank you very much.
JSmith5611
Posts: 187
Joined:


Posted: May 09, 2020 @ 08:19 AM             Msg. 4 of 5
Function should be available in 4.0.1.39.
Jason Smith
RWare2020
Posts: 205
Joined: Feb 11, 2020


Posted: May 12, 2020 @ 10:20 AM             Msg. 5 of 5
Thank you.

After downloading and installing 4.0.1.39 and replacing the dll/tlb files in my project, I am only able to see the dispatch events from GF_Api_COM namespace. Do you happen to see that or did I miss something when importing?

Thanks again.
Edited by RWare2020 on May 12, 2020 10:21 AM