Click here to Skip to main content
16,006,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: final proect for C++ suggestions Pin
Nish Nishant24-Oct-01 19:56
sitebuilderNish Nishant24-Oct-01 19:56 
QuestionHow to implement this form? Pin
Speed_cn24-Oct-01 16:50
Speed_cn24-Oct-01 16:50 
AnswerRe: How to implement this form? Pin
Christian Graus24-Oct-01 17:04
protectorChristian Graus24-Oct-01 17:04 
GeneralRe: How to implement this form? Pin
24-Oct-01 17:13
suss24-Oct-01 17:13 
GeneralRe: How to implement this form? Pin
Christian Graus24-Oct-01 18:06
protectorChristian Graus24-Oct-01 18:06 
GeneralRe: How to implement this form? Pin
Nish Nishant24-Oct-01 19:58
sitebuilderNish Nishant24-Oct-01 19:58 
GeneralPlugIn For Microsoft Outlook Pin
24-Oct-01 16:12
suss24-Oct-01 16:12 
QuestionHow to do in VC call VB Data Pin
mornlee24-Oct-01 15:50
mornlee24-Oct-01 15:50 
In VC:
typedef struct tagDataSet{
UINT Row;
UINT Col;
LPCTSTR Tips;
double Data;
} *LPDATASET;

UINT WINAPI GraphToBitmap(LPDATASET lparDataSet[DATASIZE],LPBMPFILE lpFile,LPDATAPARAM lpDataParam,LPGRAPHPARAM lpGraphParam);

In VB:
Private Type LPDATASET
Row As Long
Col As Long
Tips As String
Data As Double
End Type
Private Declare Function GraphToBitmap Lib "XGraph.dll" (fdata As LPDATASET, tfile As LPBMPFILE, tdata As LPDATAPARAM, tchart As LPGRAPHPARAM) As Long

...
If GraphToBitmap(fdata(1), tfile, tdata, tchart) = 0 Then Debug.Print "OK"
...
But at this line error in vc
CString sBuff;
sBuff.Format("%d", lparDataSet[0]->Data);
MessageBox(NULL,sBuff,"",MB_OK);
sBuff.Format("%d", lparDataSet[1]->Data);
MessageBox(NULL,sBuff,"",MB_OK);
How to do?
thanksMad | :mad:

\\\|///
\\ - - //
( o o )
+--------------------oOOo-(_)-oOOo--------------+
| |
| URL : http://GhostStudio.yeah.net |
| OICQ : 7420909 email:MornLee@21cn.com |
| CyberGhost |
| Oooo |
+--------------------oooO---( )---------------+
( ) ) /

GeneralMDI Without DocView Pin
Christopher Lord24-Oct-01 14:25
Christopher Lord24-Oct-01 14:25 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:33
protectorChristian Graus24-Oct-01 14:33 
GeneralRe: MDI Without DocView Pin
Christopher Lord24-Oct-01 14:39
Christopher Lord24-Oct-01 14:39 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:44
protectorChristian Graus24-Oct-01 14:44 
QuestionVC++ copy variables data? Pin
Todd Smith24-Oct-01 13:36
Todd Smith24-Oct-01 13:36 
AnswerRe: VC++ copy variables data? Pin
The_Server24-Oct-01 22:35
The_Server24-Oct-01 22:35 
GeneralFormatting Double Pin
AJ12324-Oct-01 12:20
AJ12324-Oct-01 12:20 
GeneralRe: Formatting Double Pin
Christian Graus24-Oct-01 12:28
protectorChristian Graus24-Oct-01 12:28 
Generalwsprintf does not work with doubles Pin
Tomasz Sowinski25-Oct-01 1:14
Tomasz Sowinski25-Oct-01 1:14 
GeneralRe: Formatting Double Pin
Mike Burston24-Oct-01 12:52
Mike Burston24-Oct-01 12:52 
General"STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 11:37
suss24-Oct-01 11:37 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 11:47
protectorChristian Graus24-Oct-01 11:47 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 19:28
suss24-Oct-01 19:28 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 19:44
sitebuilderMichael Dunn24-Oct-01 19:44 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 20:23
suss24-Oct-01 20:23 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 20:42
sitebuilderMichael Dunn24-Oct-01 20:42 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Steen Krogsgaard24-Oct-01 20:59
Steen Krogsgaard24-Oct-01 20:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.