Function CalcManager CDF begins during the VALIDATE operation
Hi, I rule bussines calling PLAN of SUPPORT in Oracle Data Integrator throught defined a custom function:
DIFFICULTY ("CU_RUB_VAT", "VE_WORK", "D1_NA", "D2_NA", "D3_NA", "D4_NA",
'NI_NA', 'OS_NA', 'BegBalance', 'SC_ACTUAL', 'PP_USERREP', 'CC_NA', "FY10")
SET CREATENONMISSINGBLK
("IN.00061"
'IN.00061' = - 1;
"IN.00061" = @JRunPlan ("http://server:52255 / oraclediagent", "","", "INVEST_UNLOAD", "DEV", "WORKREP1" @LIST(""));
IF ("IN.00061", 0) @RETURN ("UNLOAD FAILED", ERROR);
ENDIF);
CREATENONMISSINGBLK OFF SET;
ENDFIX
CDF @JRunPlan ("http://server:52255 / oraclediagent", "","", "INVEST_UNLOAD", "DEV", "WORKREP1", @LIST(""));
Runs automatically when I rull bussiness Validate in the calculation Manager!
Now someone something on this subject?
I solved my problem. The reason was in the "Runtime" property in CDF. If "runtime" undefined Essbase tries to run the CDF function!
This is the description of the oracle documentation:
"To designate the custom as a function of runtime function. Normally, Essbase executes functions whose arguments are available at compile time. The Runtime property prevents that optimization, execution of functions that have constant values as operands (or not all the operands) for each block in the scope of the function. If the built-in @CALCMODE (CELL) is used, a custom function declared as Runtime can run on each cell in the range. »
Tags: Business Intelligence
Similar Questions
-
When you try to upgrade Windows 7 SP1 to Windows 10 ' 0xC1900101 - 0 x 20017 installation failed during SAFE_OS with an error during the START operation "is a problem recurring and none of the solutions posted for a Samsung RV511 work.
When will there be a solution of Microsoft?
Concerning
Hello
Since Windows 10 is a completely new operating system, the computer manufacturer might still not have designed and developed drivers for it. As suggested waiting for the manufacturer to release the necessary drivers for the hardware and then try the upgrade.
-
Error ORA-022887 during the insert operation how to handle correctly...
Hello everyone I got an error in during the insert operation how to handle correctly?
SQL statements below.
INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
VALUES ((SELECT LOCATION. SQX_TID. (NEXTVAL DOUBLE AS TID), 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL');
Thank youTry this,
INSERT STAFF. TRANSLATIONS (TID, SCRIPT_NAME, TAG, TR, FR, LOCAL)
VALUES (PERSONAL. SQX_TID. NEXTVAL, 'TEST_TEST', 'TEST', 'TR', 'FR', 'LOCAL'); -
Jet J4550 all-in-one printer scanner function does not not during the installation of Windows 7
I bought a new computer with Windows 7.
Since then, I've lost the scan function of the printer all-in-one HP Officejet J4550 that worked fine so far in XP.
I tried ALL the solutions proposed on the HP Web page without success.
No idea how to solve this problem?
The print function still works. Only scans from the glass or the charger no longer works.
Thanks for your help.
Hi Norman,
Have you tried to update the driver for the printer?
Otherwise, you can download the latest driver for the printer to Windows 7 from HP website and check if it solves the problem:
http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&product=3645097
For troubleshooting, follow the steps in the link
Please keep us informed.
-
No score during the merge operation
Dear all,
This is the scenario that I'm testing in a 11.2.0.1 the solaris installation program
SQL> create table mypart (ename varchar2(20), doj date) partition by range (doj) INTERVAL (NUMTOYMINTERVAL(1,'MONTH')) STORE IN (users) (partition p_2009 values less than (to_date('01-JAN-2010','DD-MON-YYYY')) ) ; 2 3 4 5 6 7 8
After the insertion of rare recordings, high values are as below
SQL> SELECT table_name, partition_name, high_value, num_rows from user_tab_partitions where table_name =UPPER('mypart'); TABLE_NA PARTITION_NAME -------- ------------------------------ HIGH_VALUE NUM_ROWS ------------------------------------------------------------ ---------- MYPART P_2009 TO_DATE(' 2010-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N 1 LS_CALENDAR=GREGORIA MYPART SYS_P22 TO_DATE(' 2010-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N 1 LS_CALENDAR=GREGORIA MYPART SYS_P21 TABLE_NA PARTITION_NAME -------- ------------------------------ HIGH_VALUE NUM_ROWS ------------------------------------------------------------ ---------- TO_DATE(' 2010-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N 2 LS_CALENDAR=GREGORIA MYPART SYS_P23 TO_DATE(' 2010-06-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'N 1 LS_CALENDAR=GREGORIA
Now I initially merged these two partitions
SQL> alter table MYPART merge partitions for(to_date('02-FEB-2010','DD-MON-YYYY')), for(to_date('03-MAR-2010','DD-MON-YYYY')) into partition p5; Table altered. SQL> Select table_name,partition_name from user_tab_partitions; TABLE_NA PARTITION_ -------- ---------- MYPART P_2009 MYPART SYS_P23 MYPART P5
If I try the merging of Partitions for March and may, she throws an error
SQL> alter table MYPART merge partitions for(to_date('03-MAR-2010','DD-MON-YYYY')), for(to_date('01-MAY-2010','DD-MON-YYYY')) into partition p6; alter table MYPART merge partitions for(to_date('03-MAR-2010','DD-MON-YYYY')), for(to_date('01-MAY-2010','DD-MON-YYYY')) into partition p6 * ERROR at line 1: ORA-14274: partitions being merged are not adjacent SQL> alter table MYPART merge partitions p5,SYS_P23 into partition p6; alter table MYPART merge partitions p5,SYS_P23 into partition p6 * ERROR at line 1: ORA-14274: partitions being merged are not adjacent
So I have to insert a record for the month of April to this adjacent partition with the appearance and then associate it to p5, then finally to p23.
SQL> insert into mypart values('xxx','07-APR-2010'); 1 row created. MYPART P_2009 TABLE_NA PARTITION_ -------- ---------- HIGH_VALUE -------------------------------------------------------------------------------- INT SEG --- --- TO_DATE(' 2010-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA NO YES MYPART SYS_P24 TO_DATE(' 2010-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA YES YES TABLE_NA PARTITION_ -------- ---------- HIGH_VALUE -------------------------------------------------------------------------------- INT SEG --- --- MYPART SYS_P23 TO_DATE(' 2010-06-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA YES YES MYPART P5 TO_DATE(' 2010-04-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA NO YES TABLE_NA PARTITION_ -------- ---------- HIGH_VALUE -------------------------------------------------------------------------------- INT SEG --- --- SQL> alter table MYPART merge partitions p5,SYS_P24 into partition p6 2 / Table altered.
I thought it was the holes between the existing partitions will be automatically merged, but this seems not to happen. Is it a case with partitioning interval? Is there a way to bypass this behavior? Also when I referred to one of the reference material, it is said
"Front holes higher non-intervalle partition will be silently 'merged' as well.
But in a real-time scenario where there is a possibility for the records to zero during a particular partition (date or number) Beach, how merge us the partitions after a while to move in the archives?
So please mark the question ANSWER.
-
Change vnic-portgroup assignment during the Clone operation
Hello
I have a powershell script that creates virtual machines from a template, and I want to change the portgroup vnic
assignment in my Clone specifications.
$vmcSpec = new-Object VMware.Vim.VirtualMachineCloneSpec
$vmspec. Config = New-Object VMware.Vim.VirtualMachineConfigSpec
How you can access the configuration of the NIC through $vmspec. Config? With the deviceChange property.
Thanks for your help
Olivier
Yes, you can use the VirtualDeviceConfigSpec via the deviceChange property.
A tip useful is first find the device in question and then simply change the required properties.
In this case, the network (portgroup) should be changed
$templateName =
$newVM = $esxName = $poolName = $nicName = # Ex "Virtual Ethernet Adapter" $newPGName = $folderName = $datastoreName = $fromVM = Get-View -Id (Get-Template $templateName).Id $folder = Get-Folder $folderName | Get-View $esx = Get-VMHost $esxName | Get-View foreach($pg in $esx.Network){ if((Get-View $pg).Name -eq $newPGName){ break } } $found = $false foreach($dev in $fromVM.Config.Hardware.Device){ if($dev.DeviceInfo.Label -eq $nicName){ $found = $true break } } $spec = New-Object VMware.Vim.VirtualMachineCloneSpec $spec.Config = New-Object VMware.Vim.VirtualMachineConfigSpec $devSpec = New-Object VMware.Vim.VirtualDeviceConfigSpec $devSpec.device = $dev $devSpec.Device.Backing.DeviceName = $newPGName $devSpec.Device.Backing.Network = $pg $devSpec.Operation = "edit" $spec.Config.deviceChange += $devSpec $spec.location = New-Object VMware.Vim.VirtualMachineRelocateSpec $spec.location.datastore = (Get-Datastore $datastoreName | Get-View).MoRef $spec.location.host = (Get-VMHost $esxName | Get-View).MoRef $spec.Location.Pool = (Get-ResourcePool $poolName | Get-View).MoRef $spec.powerOn = $false $spec.template = $false $fromVM.CloneVM_Task($folder.MoRef, $newVM, $spec) -
Why opens at the beginning of the Chrome operating system
I looked around for an option to turn off this option, but every boot the OS, Chrome is open. Other that the removal of the program, how can I stop this?
KFR3 wrote:
I looked around for an option to turn off this option, but every boot the OS, Chrome is open. Other that the removal of the program, how can I stop this?
Right click on the Chrome icon in your Dock and uncheck 'open the connection '. Also, go to Preferences-> users & groups-> login items and select Google Chrome, clicking on the sign "-" to remove it.
-
Selected font failed during the last operation
I've upgraded to the new 2015.5 Photoshop and now this message every time I try to type in a new document. However, I notice that I can use existing psd files and work with text in them.
I found a solution that worked for me, thanks to forum user vladb.
I use the latest version of PS on Windows 10. The highlighted instructions worked for me below. Good luck doing that fixed your.
- Release of Photoshop and the creative cloud (if installed) desktop application.
- Navigate to the appropriate folder
- Photoshop CS6 and earlier versions
Windows XP: \Documents and Settings\Local Settings\Application Adobe application
[Windows 7: \Users\[user name] \AppData\Local\Adobe - Photoshop CC, CC 2014 or 2015 CC
[Windows 7, 8 and 10: \Users\[user name] \AppData\Roaming\Adobe\Adobe Photoshop CC, CC 2014 or 2015 CC
- Photoshop CS6 and earlier versions
- Remove the TypeSupport (Photoshop CS6 and earlier) or the folder of Cache police CT (Photoshop CC, CC 2014 or 2015 CC) and the empty the trash.
-
I have a problem that only occurs during the closing down. When I select Shut Down I soon get a pop up that says... the application could not start correctly (0xc0000142) click on OK to close the application. window label is cmd.exe. Whether I click on the window, closing down product and eventually after say 30 seconds the alarm disappears. clicking on the alert simply displays another alert. This only occurs during the closing down. Also, I have no problem to launch cmd.exe during the normal operation, or any other program running in the command window. I read a few posts but don't see anything exactly like this, what happens during closing down.
Suggestions would be appreciated. Eric
HelloPlease check if you are facing the same question when working in safe mode.
a. restart your computer.
b. when the computer starts, you will see your computer hardware are listed. When you see this information begins to tap the F8 on your keyboard key repeatedly until you are presented with the screen Windows 7 Advanced Startup Options.
c. using the arrow keys, select the desired option of Mode without failure.
d. press the Enter key on your keyboard to boot mode safe mode of Windows 7 with networking.
e. when Windows starts, use check and Internet explore if the problem persists.For additional information see the articles below.Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-modeTroubleshooting in safe mode
http://Windows.Microsoft.com/en-us/Windows7/troubleshooting-problems-while-in-safe-mode
If the problem exists not in Mode safe run mode startup minimum troubleshooting to find the root cause of the problem.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article. -
My laptop is preinstalled with Windows 7 Home Basic. At the free launch Windows 10 I downloaded the same and after 2 months, the hard drive crashed. The repair shop trying to fix formatting, but could not revive. This is why I bought a new hard drive and repair charge shot Windows 7 Ultimate edition.
Now, I want to download 10 W but not able to do that, during installation, a problem arises and the previous operating system has been restored. When I posted the question about how to solve this problem, I was told to try the download by way of USB/ISO file.
Now my question is that
one) can I reload Windows 7 Home basic as I have the product key?
(b) I can then download Windows 10 according to the normal procedure?
I'm not tech savvy, afraid to download files in USB and then load into the laptop, so this question.
Concerning
S Subramanian
Original title: Windows 7 Home basic
You can directly download Windows 10. Windows 7 complete edition currently installed is not genuine.
When you upgraded from a previous version of Windows, what happened is that (your PC) hardware will get a digital right, a unique signature of the computer which is stored on the Microsoft Activation servers. The real Windows 7 or Windows 8 license you were using previously will be exchanged with a key to the diagnosis.
Whenever you need to reinstall Windows 10 on this machine, go just to reinstall Windows 10. It automatically reactivates.
Therefore, there is no need to know or get a product key, if you must reinstall Windows 10, you can use your Windows 7 or Windows 8 product key or use the reset function in Windows 10.
-
The VM startup slow down, delay long before the guest operating system begins startup
Evaluation of VMWare to set up the VM for the maintenance of the software. Set up a virtual machine, install Windows 7 SP1 32-bit, everything works well. Once started, the performance is excellent.
The symptom is that when you start the virtual machine, either starting from cold boot or suspend, there is a significant delay before the power of VMware on / start screen is displayed. Once it appears, the operating system starts starting (or the recovery of wakefulness) quickly and performance is normal after that. During the start-up period, the whole system is insensitive, host and guest operating system.
See the extract of newspaper below to 09:54:28.619 moment where the delay occurs followed by the entry concerning 09:55:11.625 time when start continues, a delay of 43 seconds during which nothing seems to happen and the system does not respond. After that, everything is fast.
Any ideas or suggestions?
More info...
VMware Player version 6.0.1 build-1379776
Host PC: Dell Optiplex, Intel Core2 Quad Q9650 3.00 GHz ABLE to
Installed memory: 4.00 GB (3.25 GB usable)
Boot disk C: Intel SSD, 180GB (where the VMware is installed)
Data disk F: Seagate 1 TB (where the virtual machine)
SE host: Windows 7 Professional 32-bit SP1
Guest OS: Windows 7 Professional 32-bit SP1
excerpt from VMware.log:
2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: VMMEM: initial booking: 1442MB (1024MB = MainMem)
2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched_PowerOn: minGuestSize ball 104857 (80% size required min 131072)
2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched: mem reserved (in MB) min max recommended 128 2493 2493
2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: PShare: activated 1 1 Adaptive scanRate [16, 400]
2014 02-19 T 09: 54:28.619 - 05:00 | VMX | I120: MemSched: mem 5159 262144 np 35890 pg 590258 anon
2014 02-19 T 09: 55:11.625 - 05:00 | VMX | I120: MemSched: numvm 1 locked pages: num 0 max 605661
2014 02-19 T 09: 55:11.626 - 05:00 | VMX | I120: MemSched: locked Page limit: host 638514 config 638208 dynam 613853
2014 02-19 T 09: 55:11.626 - 05:00 | VMX | I120: MemSched: minmempct 50 minalloc 0 admitted 1
2014 02-19 T 09: 55:11.626 - 05:00 | VMX | W110: NUMA: application of automatic dimensioning VM ignored
configuration (.vmx) VM file:
. Encoding = "windows-1252".
config.version = '8 '.
virtualHW.version = "10".
scsi0. Present = 'TRUE '.
scsi0.virtualDev = "lsisas1068".
SATA0. Present = 'TRUE '.
memsize = "1024".
MEM.hotadd = 'TRUE '.
scsi0:0. Present = 'TRUE '.
scsi0:0. FileName = "BCDEVVM.vmdk".
SATA0:1.present = 'TRUE '.
SATA0:1.filename = "E:".
SATA0:1.DeviceType = "cdrom-raw"
ethernet0. Present = 'TRUE '.
ethernet0. ConnectionType = "bridged".
ethernet0.virtualDev = "e1000".
ethernet0.wakeOnPcktRcv = "FALSE".
ethernet0. AddressType = 'generated '.
USB. Present = 'TRUE '.
EHCI. Present = 'TRUE '.
ehci.pciSlotNumber = "35".
Sound.Present = 'TRUE '.
sound.virtualDev = 'hdaudio '.
sound.fileName = 'speakers (SoundMAX Integrated D.
Sound.AutoDetect = "FALSE".
MKS. Enable3D = 'TRUE '.
Serial0.present = 'TRUE '.
Serial0.FileType = "thinprint".
pciBridge0.present = 'TRUE '.
pciBridge4.present = 'TRUE '.
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = '8 '.
pciBridge5.present = 'TRUE '.
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = '8 '.
pciBridge6.present = 'TRUE '.
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = '8 '.
pciBridge7.present = 'TRUE '.
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = '8 '.
vmci0. Present = 'TRUE '.
hpet0. Present = 'TRUE '.
usb.vbluetooth.startConnected = "FALSE".
displayName = "BCDEVVM."
guestOS = "windows7"
NVRAM = "BCDEVVM.nvram."
virtualHW.productCompatibility = "hosted".
gui.exitOnCLIHLT = "FALSE".
powerType.powerOff = 'soft '.
powerType.powerOn = 'soft '.
powerType.suspend = 'soft '.
powerType.reset = 'soft '.
extendedConfigFile = "BCDEVVM.vmxf".
gui.lastPoweredViewMode = "full screen".
UUID. BIOS = "56 4 d d2 32 bb c9 b7 bd 3 c d2 46 59 38 e3 e6 f2"
UUID. Location = "56 4 d d2 32 bb c9 b7 bd 3 c d2 46 59 38 e3 e6 f2"
Replay.Supported = "FALSE".
Replay.FileName = «»
scsi0:0. Redo = «»
pciBridge0.pciSlotNumber = "17".
pciBridge4.pciSlotNumber = "21".
pciBridge5.pciSlotNumber = "22".
pciBridge6.pciSlotNumber = "23".
pciBridge7.pciSlotNumber = "24".
scsi0.pciSlotNumber = "160".
usb.pciSlotNumber = "32".
ethernet0.pciSlotNumber = "33".
sound.pciSlotNumber = "34".
vmci0.pciSlotNumber = '36 '.
SATA0.pciSlotNumber = "37".
scsi0.sasWWID = "50 05 05 62 bb c9 b7 b0.
ethernet0.generatedAddress = "00: 0C: 29:E6:38:E3.
ethernet0.generatedAddressOffset = '0 '.
vmci0.ID = "1508260067".
vmotion.checkpointFBSize = "134217728.
cleanShutdown = 'TRUE '.
softPowerOff = 'TRUE '.
USB:1.speed = '2 '.
USB:1.present = 'TRUE '.
USB:1.DeviceType = "hub".
USB:1.port = "1".
USB:1.parent = "-1".
SATA0:1.AutoDetect = "FALSE".
tools.syncTime = "FALSE".
unity.wasCapable = "FALSE".
tools.remindInstall = "FALSE".
toolsInstallManager.updateCounter = '1 '.
checkpoint.vmState = «»
Monitor.virtual_mmu = "automatic".
Monitor.virtual_exec = "automatic".
USB:0. Present = 'TRUE '.
USB:0. DeviceType = 'hidden '.
USB:0.port = "0".
USB:0.parent = "-1".
USB. Generic.AutoConnect = "FALSE".
serial1. Present = 'TRUE '.
serial1. FileName = "COM1".
floppy0. Present = "FALSE".
Hello
I know what you want to say as I've seen sometimes as well. But especially on older hardware or if there are problems with regard to particular resources. For example I saw this on an ESX host (yes I know product different) where there was a problem with the storage not enough providing IOPS / s.
I saw also this on older versions of Linux (IIRC 7) workstation where the host had an Atom based CPU, there I updated to more RAM and a more recent version of the workstation and the problem disappeared.
Then I also saw it on the 4/5 merger when my host operating system was out of memory and I tried to start another operating system to prompt anyway.
I do not consider a normal behavior for the slow start and does not respond, it is an indication that the hypervisor is seeking some resources, but does not receive them fast enough.
The reasons can be many. Indeed things like antivirus could be biting you if she tries to analyze all files (including virtual disks) at their opening.
FWIW, I also understand the support response as would be expected if your host is a bit thin on the resources (for example, trying to start a VM 1 GB on a host Win7 with only 3.5 GB of RAM) and if the virtual machine runs OK after the initial startup delay, it's mostly just an annoyance.
--
Wil
-
My computer has an operating system Windows 7 Professional. During the beginning of the installation of Lightroom 6, I get a message that my computer has a VISTA OS and I can't continue my installation. Bad today? S
Hi, Tommy.
Please see this link for LR6 minimum system requirements:
Photoshop Lightroom CC/Lightroom 6 system requirements and languages
You need Windows 7 with Service Pack 1, Windows 8 or 8.1 of Windows to run 6 Lightroom.
Kind regards
Guinot
-
Hi all, I had a problem when using popup to create a new table row.
I do like in this http://andrejusb.blogspot.com/2009/11/crud-operations-in-oracle-adf-11g-table.html
but when I click on insert, an error stating:
java.lang.NullpointerExeption
ADF_FACES-60097: for more information, see the error log of the server for an entry beginning with: ADF_FACES - Exception during the PPR, #2 60096:Server
In other cases, when showing Popup, when I clicked on cancel (popup), the display of the error as above. I don't know why?
Can someone explain to me why. Thank you
Check your page links if the createInsert operation is present.
Then check that the getBindings() method returns a value and not null.
Timo
-
I use linux (ubunut 10.04). My operation is not complete, during the transaction, the site of the Bank says 'java script disabled', but in edition > Preferences > content > enable java is marked as a control. So, what's the problem? , But this site is running in Windows XP internet explore.
URL of affected sites
you have the Options JavaScript, JavaScript Debugger, JavaScript Deobfuscator NoScript and installed QuickJava.
Is it possible that one or several are at the origin of the problem?
Do you know how to use these points?
U of tried to turn all these OFF, restart FF, visit the site and see if it works? -
SetCtrlVal used during the Thread function works causes memory leaks
I am writing a program that works if... Or not work if... - see the next lines... :-)...
The program includes a section, mostly GUI - and User Interaction.
The other part is a DLL. In the DLL we readings on an external consultant controller RS232. Sometimes the controller card needs (called how much) time and this time must pass then the result can be read card controller... and so on...
Blocking is not GUI-user-program for the expectation of the return value of the DLL functions (which need a few seconds to be finished) I start a thread in the DLL with
CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE, THREAD_FunctionX, & tmpTFP, NULL);
with "tmpTFP" as an instance of type "TYPE_THREAD_FUNCTION_PARAMETERS":
typedef struct
{
//
int IntVal1; // 1. Integer-Wert
int IntVal2; // 2. Integer-Wert
int IntVal3; // 3. Integer-Wert
int IntVal4; // 4. Integer-Wert
int IntVal5; // 5. Integer-Wert
//
int IntBuffer1 [32]; // 1. Integer-buffer (aktuell genugt einer)
//
Double DblVal1; // 1. Double-value
Double DblVal2; // 2. Double-value
Double DblVal3; // 3. Double-value
Double DblVal4; // 4. Double-value
Double DblVal5; // 5. Double-value
//
char CharVal1; // 1. (Single)- Tank-Wert
char CharVal2; // 2. (Single)- Tank-Wert
char CharVal3; // 3. (Single)- Tank-Wert
char CharVal4; // 4. (Single)- Tank-Wert
char CharVal5; // 5. (Single)- Tank-Wert
//
char CharBuffer1 [1024]; // 1. Char buffer (akutell einer genugt)
//
} TYPE_THREAD_FUNCTION_PARAMETERS;In the GUI-user program - I get fast by default-return value of the thread start function.
Then I asked the DLL (some global state variables are used for this) when it is finished.
According to the map-controller (RS232) contacted the waiting time depends on the 'mood' of the controller card.
In the DLL-mark of the GUI-user-program routine now everything works fine - without using "SetCtrlVal!"
In my GUI, there is a text box of the info/comment for messages. If I do a few outputs user using 'SetCtrlVal' I always errors, caused by the false "TYPE_THREAD_FUNCTION_PARAMETERS"-values in the service of thread. "» If I set a breakpoint at the beginning thread-function I see mostly erroneous values in my transfer structure variables. If I put a breakpoint in the thread-function-calling 'CmtScheduleThreadPoolFunction (...)"and at the beginning of the thread values are (mostly) correct!
I tried several and different things - but:
If I ONLY (!) Commenting on the (!) of a line with "SetCtrlVal", the program works, all States are asked out of the DLL.
If I replace the "SetCtrlVal" with a written record-file function clean everything works fine and after completing the program I can look at the log file and see all the user information. BUT with 'SetCtrlVal' instead or set or (...) it does not work.
My description is maybe not entirely clear, but believe me: only ONE line the «SetCtrlVal "line - should be commented out to let the program run properly!»
Because if the line "SetCtrlVal"is program-user-GUI, after the call to the thread in the DLL, the DLL-memory seems to be corrupted by the call "SetCtrlVal" in the user-GUI program.»
Best regards
F.
There may be a problem in your structure that your variable is set.
You said that, after the address of the variable in the thread function the appellant one ends. Now, as you can read help each value passed in parameter threadFunctionData of the layed function must point to an area of memory that persist when the fuction is running: If your variable is defined at the level of the functions it is not valid when the thread runs since the appellant finished and released its local memory.
Your approach with a global variable is a valid alternative, but if it is the solution, you will find data passed to the thread function must be valid for all his life.
Maybe you are looking for
-
Recovery without DVD player?
Hello. My older laptop needs a recovery but my isn´t DVD player no longer works. I have still my 2 recovery discs. Is there another way I could transfer the data from the discs to another device as a USB - Stick or USB Ext. hard drive? Or do I need t
-
My install software generates an error code of 2564
I'm finishing a Labview project and where to install the solution on the client computer, it is not to work and send me this error code 2564. The referents of error code for a plug-in of labview and I is not found in the Web site of NOR. Everyone kno
-
I need to know how to go from Vista to Windows 7
-
Several connection methods?
Hello I'm looking to implement an HP4015x LaserJet printer with a JetDirect 690n wireless card to provide users of a wired / wireless access the ability to print to the same printer. Could someone confirm if this is possible or a printer can operate
-
Hello guys. The configuration of my laptop is (1.7 ghz, radeon hd 7650 m i5 / intel graphics hd, 6 GB ram, win 7) My previous laptop was a Dell Inspiron 1520 with processor T7500 (gz 2 or 2.2, not sure, Nvidia GeForce 8800 m (256 MB) video card and 4