|
i checked exported function name....it is correct only...
but its giveing NULL....
|
|
|
|
|
Why didn't you call, as suggested, GetLastError ?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
the other comments are fully right to call the dll.
But for string parameter you should use BSTR type. An article with basic explanations:
Guide to BSTR and C String Conversions[^]
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Check whether scdthndl.dll is loaded, means hLib is having value or it is also 0?
Величие не Бога может быть недооценена.
|
|
|
|
|
hi
hlib have value...GetProcAddress() only Null coming
please give me any suggestions....
|
|
|
|
|
Then surely StringToCSV is not an exported function from that DLL
check the depedency of the DLL, check if StringToCSV is shown in Exported functions.
Величие не Бога может быть недооценена.
|
|
|
|
|
Hi, i already implement 4 of wizard page by using 2 dialog.(Exp: page 1 = dialog1, page 2 = dialog2, page 3 = dialog 1, page 4 = dialog 2)
The problem now is i cannot assign the title for every wizard page. Anyone can help?
|
|
|
|
|
SetWindowText in OnSetActivePage()
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
hi
i m using CeGetDeviceId();for finding device id
this return 0,while device is existing.
please help me for this.
thanks in advance.
|
|
|
|
|
Hi All
I am using list control(report style) in formview.
I am trying to insert the columns in OnCreate (or) Show Window Function.
But Neither Works ..
Any Way to Solve it.
Regards
Gany
|
|
|
|
|
How you are doing..plz insert code!
|
|
|
|
|
m_listctrl.SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
CRect rect;
m_listctrl.GetClientRect(&rect);
int ctl=rect.Width()/10;
m_listctrl.InsertColumn(0,"ORDERNO",LVCFMT_LEFT,ctl);
m_listctrl.InsertColumn(1,"MOLDNO",LVCFMT_LEFT,ctl);
m_listctrl.InsertColumn(2,"OD TYPE",LVCFMT_LEFT,ctl);
|
|
|
|
|
yes its working for me.
Might be width problem, set it manual.
|
|
|
|
|
Hi
While Debugging i m gettin error in
m_listctrl.SetExtendedStyle(LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
code itself
|
|
|
|
|
|
Assertion Error!!!
Where u writing the code
OnCreate or OnShowWindow()????
|
|
|
|
|
Hi
I m using splitterwndow.
left view consists of treeview with various items..
right view contains frame windows that appears when cliking an item in treeview..
With this type we can use our listcontrol right?
|
|
|
|
|
Hi,
How to remove menu of a running application through another application?
|
|
|
|
|
I am trying to establish TCP/IP communication between DSP board(that runs Code Composer Studio, an IDE to compile and run C code) and host PC(that runs VC++ application)
While sending the data from CCS to VC, sometimes "Retransmission Timeout" error occurs, and at other instance "Persist Timeout" occurs, after this timeout the transmission stops.
How to address these errors in VC++ MFC code. (CAsyncSocket class and the member functions are used for reception of data at VC++ end)
|
|
|
|
|
suchithra, from your post, I can understand the problem wel, but you didn't mentioned whether you were using any wired/wireless communication. Look, I have done so many programs for interfacing, establishments of communications for different mechatronic devices etc. & faced lots of probs. The best practice would be throughing Exceptions, so that you can understand where the problem is. I rather suggest you-
1. Use UDP protocol other than using TCP/IP protocol.
2. If you are sending bulk data, then check for stack overflow
3. Try to Impliment of your own timeout block or extend socket timeout value
4. Swap your globally stored data to local veriable, so that before every recieve, your global block should be cleaned.
5. Check your h/w connection for communication.
"Retransmission Timeout" error occurs:
1. It means either no data is being recieved by your VC++ aps(use Exceptions to check atallit recieve any data from sender or not) or it recieves few data, after that communication lost (cause by stack overflow/ h/w issue), which is quite obvious in TCP/IP protocol for large data transfer. Use UDP only.
|
|
|
|
|
I have been working with GLSL for a couple days and I understand the basic concept. I know how to get specific values from my openGL applicaiton to the shader but I don't know how to pass in my own variables. I appreciate your help with this problem.
|
|
|
|
|
Could you be more specific, please?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I know that values such as light position can be passed into either the fragment shader or the vertex shader using gl_lightsource, but what if I wanted to use a variable from my code such as an eye vector for a phong equation. In the information on GLSL I have read I have not seen a mention as to how to do something like this. All I have seen is being able to pass data in that would normally be used in OpenGL's lighting model, such as the functions glMaterialfv and glLightfv. I hope this better explains my problem.
|
|
|
|
|
Been a couple years but IIRC ...
If you have a vertex shader with:
attribute float myAttrib;
Then in the C++ source you would:
GLint loc = glGetAttribLocation(progId, "myAttrib");
or,
GLint loc = 20;
glBindAttribLocation(progId, loc, "myAttrib");
then to set myAttrib,
glVertexAttrib1f(loc, 0.432);
So you can set per-vertex in C++ and read (only) in shader.
... uniforms are similar.
If you want to bind then do so after glAttachShader and before glLinkProgram.
I think OpenGL 3+ changes the above slightly, haven't gotten up to speed on it yet.
...cmk
The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack
|
|
|
|
|
Thank you, this has been very helpful, I just have one more question; what about vec3, vec4, etc. This might be a stupid question, there might be a data structure in opengl that can handle data from these types, but what do i do about these data types?
|
|
|
|